﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="MediaMonitor.SiteFiles.Video"
    CodeBehind="video.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Video</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Panel ID="pnlNoVideo" runat="server" Visible="false">
            <h3 style="color:Red;"><asp:Label ID="lblMsg" runat="server">No Video Found</asp:Label></h3>
        </asp:Panel>

        <asp:Panel ID="pnlVideo" runat="server" Visible="true">
            <center>
                <object id="MediaPlayer" width="192" height="190" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
                    standby="Loading Windows Media Player components..." type="application/x-oleobject">
                    <param name="FileName" value="../videos/<%=curVideo%>" />
                    <param name="autostart" value="false" />
                    <param name="ShowControls" value="true" />
                    <param name="ShowStatusBar" value="false" />
                    <param name="ShowDisplay" value="false" />
                    <embed type="application/x-mplayer2" src="../videos/<%=curVideo%>" name="MediaPlayer"
                        width="<%=width%>" height="<%=height%>" showcontrols="1" showstatusbar="0" showdisplay="0" autostart="0"> </embed>
                </object>
            </center>
        </asp:Panel>
        <asp:LinkButton ID="lnkDownload" runat="server"> </asp:LinkButton>
    </div>
    </form>
</body>
</html>
